<?php
    $textHTML = "";

    $textHTML .= "<footer id='footer'>";
    $textHTML .= "<h1>Copyright BOUCHER Clément</h1>";
    $textHTML .= "<ul><li><a href=''>Mention Légal</a></li><li><a href=''>Plan du site</a></li>";
    if (isset($_SESSION['admin']) === true){
        $textHTML .= "<li><a href=''>Panneau d'administration</a></li>";
    }
    $textHTML .= "</footer>";

    echo $textHTML;
?>